package com.example.pricecloudperformancetesting.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author Remy
 * @description :
 * @date 2020-05-21 16:55
 */
@Data
@Builder
public class QuoteSymbol {

    @JSONField(name = "symbol", ordinal = 0)
    private String symbol;

    @JSONField(name = "time", ordinal = 1)
    private long time;

    @JSONField(name = "depth", ordinal = 2)
    private Integer depth;

    @JSONField(name = "tick", ordinal = 3)
    List<QuoteDepth> ticks;


}
